<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue-2</title>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>
<style type="text/css">
    .eam{
        color: red;
    }
</style>
<body>
    <div id="vue-app">
        <h1 v-bind:class='ma'>牛逼的前端框架-》Vue</h1>
    </div>

   <script type="text/javascript">
        var app = new Vue({
            el: '#vue-app',
            data:{
                ma:'eam'
            }
        })
   </script>




    <script type="text/javascript" src="app.js"></script>
</body>
</html>